<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.Date"%>
<%@page import="java.text.SimpleDateFormat"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf"%>
<script type="text/javascript" src="${ctx}/js/client/client_add.js"></script>
<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
}

.col-sm-9 {
	width: 85%;
	float: left;
}

label[class^="btn btn-default"] {
	margin-top: -4px;
}
</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		action="${ctx}/client/client_addEntity.shtml">
		<input type="hidden" class="form-control checkacc" value="${order.id}"
			name="orderFormMap.id" id="id">
		<section class="panel panel-default">
		<div class="panel-body">
			<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">名称</label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkabh"
							 name="orderFormMap.Name" value="${order.Name}" readonly/>
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">订单数量</label>
					<div class="col-sm-9">
						<input type="text" class="form-control " required
							placeholder="请输入订单数量" name="orderFormMap.number" >
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">采购订单号</label>
					<div class="col-sm-9">
					<input type="text" class="form-control" placeholder="请输入采购订单号"
							name="orderFormMap.po_no"  value="${order.po_no }" readonly="readonly">
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">客户编码</label>
					<div class="col-sm-9">
					<input type="text" class="form-control" placeholder="请输入客户编码" readonly="readonly"
							name="orderFormMap.client_encode"  value="${order.client_encode }">
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">出货日期</label>
					<div class="col-sm-9">
					<input type="date" required name="orderFormMap.shipping_time"  placeholder="请选择出货日期" class="form-control" />
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">作业号</label>
					<div class="col-sm-9">
					<input type="text" class="form-control" placeholder="请输入作业号" readonly
							name="orderFormMap.job_number"  value="${order.job_number }">
					</div>
				</div>
			</div>
		<footer class="panel-footer text-right bg-light lter">
		<button type="submit" class="btn btn-success btn-s-xs">新增</button>
		</footer>
	 </section>
	</form>
</body>
</html>